
package com.tenentia.pcmps.swm.business.interfaces;

import java.util.Date;
import java.util.List;

import com.tenentia.pcmps.swm.business.BusinessLogicException;
import com.tenentia.pcmps.swm.business.BusinessLogicObject;
import com.tenentia.pcmps.swm.data.beans.PDFTemplate;

/**
 * 
 * @author tEnEntia, S.L.N.E.
 * 
 */
public interface PDFTemplatesManager extends BusinessLogicObject {

	public void delete(PDFTemplate template) throws BusinessLogicException;

	public PDFTemplate get(PDFTemplate template) throws BusinessLogicException;

	public List<PDFTemplate> getTableItemsByRange(Object filterParameters, Object sortParameters, Integer firstRow, Integer numberOfRows) throws BusinessLogicException;

	public Integer getTableRowCount(Object filterParameters) throws BusinessLogicException;

	public PDFTemplate save(PDFTemplate template) throws BusinessLogicException;

	public PDFTemplate update(PDFTemplate template) throws BusinessLogicException;

	public PDFTemplate getPDFTemplateByAlias(String alias) throws BusinessLogicException;
	
	public PDFTemplate getPDFTemplateByClassNameAndDate(String className, Date classDate) throws BusinessLogicException;

}
